package com.kelvem.saas.workbanch.core.manager.dao;

import com.kelvem.saas.workbanch.core.manager.model.BizPageActionEntity;
import com.kelvem.saas.workbanch.fsm.anno.entity.RegisterDao;
import com.kelvem.saas.workbanch.fsm.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 页面行为Dao
 *
 * @author kelvem
 * @version 1.0
 */
@Mapper
@RegisterDao(entityClass= BizPageActionEntity.class)
public interface BizPageActionDao extends BaseDao<BizPageActionEntity> {
    
    @Select("select * from biz_page_action where biz_page_id=#{bizPageId} order by biz_page_id, show_flag desc, sort_no")
    List<BizPageActionEntity> queryBizPageActionList(Long bizPageId);
}
